<template>
    <div>
         <tab-bar>
            <tab-bar-item path="/home">
                <i slot="item-icon" class="el-icon-house"></i>
                <i slot="item-icon-active" class="el-icon-house" style="color:red"></i>
                <div slot="item-text">首页</div>
            </tab-bar-item>
            <tab-bar-item path="/category">
                <i slot="item-icon" class="el-icon-menu"></i>
                <i slot="item-icon-active" class="el-icon-menu" style="color:red"></i>
                <div slot="item-text">分类</div>
            </tab-bar-item>
            <tab-bar-item path="/cart">
                <i slot="item-icon" class="el-icon-shopping-cart-2"></i>
                <i slot="item-icon-active" class="el-icon-shopping-cart-2" style="color:red"></i>
                <div slot="item-text">购物车</div>
            </tab-bar-item>
            <tab-bar-item path="/profile"> 
                <i slot="item-icon" class="el-icon-user"></i>
                <i slot="item-icon-active" class="el-icon-user" style="color:red"></i>
                <div slot="item-text">我的</div>
            </tab-bar-item>
        </tab-bar>
    </div>
</template>

<script>

import TabBar from "../commom/tabber/TabBar";
import TabBarItem from "../commom/tabber/TabBarIten";

export default {
    name: "MainTarBar",
    components:{
        TabBar,
        TabBarItem,
    }
}
</script>